making all the dynamic parts happen on the front-endside