my lua sample codes