adding testing file and updated some functions