move shift assignment from view to form