Working member_create and utility functions