improving functions, set a max of 500-fold dilut.