added code

Added code to define variables. Test pending.