api attempt 1