Is there a reason this function doesn't return anything on success?