Added console for debug