Finally. After plenty of mistakes, and checking leet blog