fixed: controller.memorize()
clean code