made multiple changes in functions