Added more to the array did more debugging, cleaned up code