added attr and val plugins