Chnaged main to membership and added interface