check and submit boxes