resolving issue#5