POC code for calling a controller