added parsing of attributes