Changed def to routine