add a member method