creating view