start of handling of parameters