implemented the C, CE and back functions