optimized the member() method code; related #76