Very ugly way to have sub calls. Very ugly way to process the acs data:(