still need to sort returned messages