Added necessary  methods