Added day 3 content, fixed bug in rvar.