Updated definition for delegate