modification on lua