made a test console function