API working for base layer only