dumping values into function