shortcut for defining keyframes