replacing manual measurement techniques

replacing manual measurement techniques