code compiled fine, need to test in real game.