working on populating tables