added UNION to end
added UNION to end