Changed method visiblity to public