adding incomplete implementation of attribute parsing