main screen implemented