basic cassandra formula