basic sampling form and controller