added approximate lookup support and changed the docs