created code for data in competetive sport