added submit on enter
commitment