transpose and get_transpose methods added