Added a little bit to the getView() method