Added Log
Added Log
Removed code from the main