Added a way to submit data