Added minor functions