changed append and split... broken