connect options to the respective functions