moving depth tracking to vallidator so it doesnt clog up main file
example of success