add logic to one of the views