updated for week 7
updated with tangent