implementing billing features