separate constant and varying parameters