Learning the STOMP routine.