abstracted parameter settings and implemented parameter-writer