Made it work for multiple time formats (year being 2012 or 12) and added in checking to make sure we had the name for a lot before trying to access the array