add constants and code for Block().draw()