text: game.SpendExp = me.ScreenObject.extend({
  	/**	
  	 *  action to perform on state change
  	 */
  	onResetEvent: function() {	
  		me.game.world.addChild(new me.Sprite(0, 0, me.loader.getImage('exp-screen')), -10); // TODo
                  
                  me.input.bindKey(me.input.KEY.F1, "F1");
                  me.input.bindKey(me.input.KEY.F2, "F2");
                  me.input.bindKey(me.input.KEY.F3, "F3");
                  me.input.bindKey(me.input.KEY.F4, "F4");
                  me.input.bindKey(me.input.KEY.F5, "F5");
                  var explcost = ((game.data.exp1 + 1) * 10);
                  
                  me.game.world.addChild(new (me.Renderable.extend({
                      init: function(){
                          this._super(me.Renderable, 'init', [10, 10, 300, 50]);
                          this.font = new me.Font("Arial", 46,  "white");
                      },
                      
                      draw: function(renderer){
                         this.font.draw(renderer.getContext(), "PRESS F1-F4 TO BUY, F5 TO SKIP", this.pos.x, this.pos.y);  
                         this.font.draw(renderer.getContext(), "CURRENT EXP: " + game.data.exp.toString(), this.pos.x + 100, this.pos.y + 50);  
                         this.font.draw(renderer.getContext(), "F1: INCREASE PRODUCTION CURRENT LEVEL: " + game.data.exp1.toString() + "COAST:" + ((game.data.exp1 + 1) * 10), this.pos.x, this.pos.y + 100);  
                         this.font.draw(renderer.getContext(), "F2: ADD STARTING GOLD", this.pos.x, this.pos.y + 150);  
                         this.font.draw(renderer.getContext(), "F3: INCRASE ATTACK DAMAGE: ", this.pos.x, this.pos.y + 200);
                         this.font.draw(renderer.getContext(), "F4: INCRASE STARTING HEALTH", this.pos.x, this.pos.y + 250);  
                      }
                      
                  })));
                  
                  this.handler = me.event.subscribe(me.event.KEYDOWN, function (action, keyCode, edge){
                      if(action === "F1"){
                          if(game.data.exp >= ((game.data.exp1 + 1) * 10)){
                              game.data.exp1 += 1;
                              game.data.exp -= explcost;
                              me.stata.change(me.state.PLAY);
                          }else{
                            console.log("not enough experience");  
                          }
                      }else if(action === "F2"){
                          
                      }else if(action === "F3"){
                          
                      }else if(action === "F4"){
                          
                      }else if(action === "F5"){
                          me.state.change(me.state.PLAY);
                      }
                  });
          },
          
  	
  	/**	
  	 *  action to perform when leaving this screen (state change)
  	 */
  	onDestroyEvent: function() {
               me.input.unbindKey(me.input.KEY.F1, "F1");
               me.input.unbindKey(me.input.KEY.F2, "F2");
               me.input.unbindKey(me.input.KEY.F3, "F3");
               me.input.unbindKey(me.input.KEY.F4, "F4");
               me.input.unbindKey(me.input.KEY.F5, "F5");
               me.event.unsubscribe(this.handler);
                
  
  	}
  });
  