Cleaned up collect().