save some casting