adding options method support