trying to get truncate working