Merge pull request #13 from wttek/wttek

final version, without delay and dynamic statistics
final