added comments on ui