added controller sample