removing debuggers and breaking out submit message to its own method