changed the system to loading texture