finalized gui