added flat trim node