Changing array size
Variable pass changed to pwd