Changed noaccess method to return structs