refers iOS, ruby implementation