finished version that can create and delete meters