add logic / routing