added position field for attributes