added app helper with regex