implementing a suitable charging method