Removing duplicate String declaration