changed texture loading