replaced case with superior, functional if