made create_lookup usable from outside (as it did not need to be a class method)