new texture class - most probably incorrect