modified some answers to part 3, committed pin