added autotruncate