Added method for getting load factor