Now understands submit code