api syntax not in hard code