working on obfs gui func