Added a helper file for defining animFrame