edit to lianna.py