return modified data