adding less than 2 frames throw
updating demo