view logic changes