adding correct type for named access