try moving the other problem method outside of the var declaration