added functionality for capturing charges