main page starts work