converted to new viewa