added res.modlinks()