modify the user monitor function