created utils for reused functions