added comments
added timing details for better debugging and results measurement