* implement targetWidth and targetHeight * blank lines and typo * addressed comments * add warning to tests