Added method to Console