finished intial coding moving to testing