added needed hashkeyelement attribute