Added some console loggin for testing