got remaining working in console.