more work on form and sidebar