pantry popup pseudocode and edits to appearance