Functions and code to manipulate data as needed