added memberfunctions to emacs