Modest profit despite difficult market conditions