be sure to get the correct types