make properties protected