added an API for getting remarks