some checks for solution building