Updated API formatting