working on spec 1.2 compatibility