dict or objects?