Improved attributes extraction method