modified fucntions