began adding UI functionality