Basic version for the issue #5. If need more, create another issue.