modified API directory