Finished LookUp function