changed object format to constant, uses formet query string