adding first part of lua-support