Working on creating a getAcs function