Smart truncater