reworked APIMethod layout