Changed from attribute to parameter