slight reordering of contract input form