now the options is fully functional