altered api attributes to fit OS framework conventions