add comments in apply-generic