explicitly cast ~ results