working on the console component