implemented meman class