It's merged from different gists & partly by me/Dima