working in console