added animation code, but animation doesn't happen yet