Splitted the Code in 2 Methods and worked on the further Calculations