make api methods