Added code to CUD