added variables for better readability of the code
Updated stl