Functions should not have too many lines