Modified answer to 1.3 and added gitignore