Fixed lines of code method
New version