pretty API