copied sources from older vaadin project