Changed Saishav's a bit - we need to keep track of 'nil' values so we can monitor the position! If values are 'nil