Edited API Codes