currently I have the following code
it comes out to something like this
You can turn negative input into a positive number by the following: