issue #5 -- if no submit button it should still work