changed attrs format