api ready. NEED TO fix drupal warning