implemented animation (not working)