Changing vars from protected to public