-Added missing api call
-Added default values to the method signature
-modified gitignore
Fixed a duplicated method.