IV for each UserData. also refactoring