modified input file
improved animation api