removed unnecessary string manipulation