formatting changes, also added lua