setup shared public