Example of a solution for the Cassandra lab