using constants for the attributes now