removed unnecessary getString() calls