SMS: Relational transactional analysis