modified parameters; works poorly