before repeating controller 2