compatible with 'ap' used in awesome_print_motion