added a function stub
moved some files in from a VS project for 17.1