cleaned up quotes a bit. wrapped all in closure