adding api layouts