updated startwith & endwith