changed :: and . functionality to lua equivalent