Added parsing functionality to Submit