adding truncate operation extension