added in forgotten operator() function