added timer, fixed bug in textureregion