problems 003 & 004 done