function clause question improved