commiting the UI