added consolelog