answers: set attributes in helper functions.