Bases and losing them  implemented.