New HTM without viewing or input creation functions
minor changes