working through the scala koans, adding current state