check for view