added first api endpoint