added gui for allocation