[unfinished]add delegate function;