slight adjustment of firms top function