implement reading a simple model