define some states and make it bounce :)