Added compareTo method - Eric