gui almost finalized