latest version with passing tests