implemented the final animations. still needing some corrections