create function multirember