adding func to app helper