added console.log's