Fixed texture and added a prototype