because they need to access the console object which is only created after the class declaration