The submitting example made more comprehensible and reusable.