changed names of attributes to avoid collisions