unifies function styling