some better API formatting