removed lua code