adding comments and changing api name to avoid confusion