add drawgradulation function