Part I: Creating and Using User Defined Functions