still testing code

previous version was not passing variables correctly