array changes

Change direction array declaration and edit lose image