refactor link types (#43)