began writing code for add to pantry