finish up with the complete functionality of dynamic options field