debugging console.logs added