to make sure it's an immutable sequence. might not be needed but when java and scala classes are mixed like that, it becomes less obvious. But I guess it's not strictly needed