added another sql procedure