Be sure to check for multiple types