added subscribe method to icontroller