Made it modular
Added some code to the dummy function