edited API