improved api integration;