got API set up properly