started working on functionality