compose function working, spaces are being incorrectly dropped by the tokenizer I think. Need to fix that