added depth uncertainty as user argument