apart from the fact that it's not using MVVM this is done.