#UPDATE: remove the redundant codes.