while() and malloc opts