fill results table dynamically