add instance variable accessibilities check