added more validations and sorting boards