finished main coding, ready to begin unit testing