Removed unnecessary type assignment