directions array needs to be private variable