made initial variables more readible, renamed k and v to time and price