initial utility functions for handling various series