moved draw to utils