change is_public to int 1,2,3