redundant code removed.