created script for measuring execution time