program logic coded and tested