i guess we should centralize the console handling things in a helper method.