modified for lookup