register controller generated