deprecated codes are inserted