added error returns for cassandra