views in line with api