working on reduced membership function