beginnings of some UI stuff