Dev

Adding logging