make sure to check for types