worked on padding to get motif working