Typecast changed to String.valueOf