added ignore file
correction indentation and fixing excess curly bracket