changed code for Ost.options and added test