cleaned down file to test functions