function had no parameters