Functions of the main board