unit attribute working