sendinng and generating messages works