Sample methods and visibility changed