initial commit -- some basic functions working