added function to make results submission