finish `constant lookup` part