close #15: functionality added.