simplified form building syntax, future proof for react changes