changed default behavior of -i, added \"fields\" capability to getData