dots in functions and minor additions