checking if all data is initialized