Implementing a custom fee