Dunno, copied this code from ```lookup/```, will rm.