Added a fun unite function