changd the extentions to public so that they can be used in code