Removing sub-code