working in main page