AE can now submit to database. AE needs more fleshing out.