made faster texture loading