assignment input now functional