improving apis