Adding data, but having trouble compiling