working api manipulation