putting console logs in