Get codes of results