final part of hw05 added