Wrote code to test 5 sec samples and created second file to help with debugging