Created clear method to avoid having redundant data

Simple change that will save time down the road