use separated enum constant for target and frame