added ignore file and hiding redundant code