Removed unnecessary casting