reorder logic / add repo link