Forgot to add replication, which still needs translating into Python