correct use of ace api