First working version of assignment sending