tested dynamic results, added generic view