added method to read board