trimed to debug