added assignement endpoint