added start page checking; final version done