replaced attribute strings with constants