please help to finish the api and me simutltor import