changed access from protected to public