clean up, remove duplicate trowelfunctions/globals