Added visiblity scope to mehtods