fix readme typos & add inputAndLabel method