added seq generator. fixed transpose