added 'getchecked' method