Updated indentation and made some metatable