added sequence model