Adding console for debugging