working on reusable app to create dynamic html