verified correct making, and changed the names of tf functions