Implemented texture changing