finished initial coding, testing