Added cls API Function