for HP animation