Doing homeworks