API implemented in backend