removed default values in functions