working on checks to ensure duplicate or bad links arent created