create a way to automate maybe create some helper functions? getParameter hasParameter setParameter