add functions random() and drawTroll()