works with out the function, trying a different way to call it