created 2 arrays in pantrypopup; cleaned java