wip
use animation to check for next state