now animated!
added obstacle class