changed z to 20
changed variables