cleaned up codes and running smoothly. Thank you Matt Dunn