Additional functions for testing