adding entity lua accessor functions ... need to think of infrastructure