initial work and tests