solved/closed functionality implemented

closing #10
closing #8