move perform actions and move validations to board class