working on options of Worker#addFunction