diff --git a/lib/geocoder.rb b/lib/geocoder.rb
index bbdb54602a226ffdfbfb3a05ca327a45d2db19b7..2b9912ad4b281454f790cd6876a02104eb4b7ff4 100644
--- a/lib/geocoder.rb
+++ b/lib/geocoder.rb
@@ -46,13 +46,16 @@ module Geocoder
     if c = fetch_coordinates(attribute)
       self.latitude = c[0]
       self.longitude = c[1]
+      return c
+    else
+      return nil
     end
   end
 
   ##
   # Calculate the distance between two points (Haversine formula). Takes two
   # sets of coordinates and an options hash:
-  #
+  # 
   #   :units : <tt>:mi</tt> for miles (default), <tt>:km</tt> for kilometers
   #
   def self.distance_between(lat1, lon1, lat2, lon2, options = {})