Turns out truncate was never even used, so removed the useless function