added auto reload