Extracted Sanitation Method

Used new function on_board