made changes to result and in accordance with comments by gerard