simple share function.