simplified block statements in msg declaration