adding parameterized findAndModify