end gui interface