Work with typedef