Initial rough code with no tests or documentation