[#7] code forissue 7 created