adding gui with timer