added code scope object
added grammar for message send