Make sure to work with all cases.