Added look.R, used to look up data in db