implemented ngmap