initial frame should be 0, not 1