Added logs for testing purposes