Source codes modified according to UI