added helper methods for submit buttons