Modified file. Not the best implementation but good for now.