added console statements again