adding animator class