simplify prototype lookup