just code from hsr modules to share between my clients