first working version with native form inputs only