add a gui to easily edit and set parameters