Update: needed to reference size on line 48 in main.c