CS basic operations