fixed functions h
added find with regex