added passMessage