modified pins controller