first attempt at lookup kernel