console loggin the problem