modified to add new view