still not getting any error linews from function