fixed requirements
add_assignment in model