extract rendering into board rendering object
make variable names prettier