added animation support