update to accommodate Sachin's endpoint
remove erroneous spaces
support API endpoint