created initial coding, testing