add captureanimage function