work on trend removal, cleaning up mostly