add function apply to all