changed from 5 to 4 for trace