initial commit working libraries, need to change direction times