added defines for handling attribute locations