final: assignment manage, many bugs