improved version of function subliminal_exist_check, add docs and tests to some functions