implementing some gui stuff