CPU changed back to GPU and "case" to "cast" typo