solution for Bitfountain iOS 8 online class