auxiliary functions for other projects