changed optional type from dict to board