some security & shared model added