view creation optimization