add functional for testing app