add pseudo code for alter view in settings