still playing with crafty framework