working basic gui