submitted_data variable is redundant - removed