failed at doing work today
fixed typo from original source code