Nones changed to none
multiple line added to code