you probably want to use the version with the checks (commented)