updated for using selene instead of sol (lua bindings)