…finishing sample, figure out how to substitute for a main function