add logger and comment for controller support