Changed String constructor to valueOf