ENH:implement part of controller