Added function library, loaded stata dataset