linked it up to live database