creating view partial