changed UI interface for more reactive functionality