Changed from ^ to ~