Modefied player to support animation