more code in the UI thread -> it works