texture function complete
taiko functions added