changed the parameters a little