added prelimenary animation code