theoretically working game submitting and retrieval functions