sets up basics for form entry