go back to separate API methods instead of parameter