added input names to options