redundant code,check for new in repo