assert should not be used for functionality.