refactored the last test to use calculated look ups