Modified file from idea