updated bottomboard code on topboard