this if is also no longer needed.