Revert "Revert "Revert "commited for gui"""

This reverts commit e7e98efbf56542e6dac3e8788c20a46e7f6db6ed.