broke out submit code