very basic functionality and JSON parsing.