First functions in margins