added crafty lib