added get_value method and fixed Slot.name