Whats the reason for this explicit cast btw?