added type inherit to polylink