Andrey's version 09.07.13