adding application helper functions