added logs for console