membership stuff, not working right, but a start