working on repo detection