adds console for debugging