added first code for motor board