made user pointer in controller