adjust functionality for debugging