function actually returns something now...