Make sure to append to the list correctly