completed functionality of demo'd submission