added texture loading