updated for cassandra 1.2.3