Beta version added. It does the main purpose, but it can be improved.