added val for "default" argument to make it accessible from the methods