implement getView