Added copy-paste snippet for defining new funtions