commented out else loop. need to debug more in future.