modified the delegates