Updated api with dot notation