creatinf a utilities file to host common functions