added sequence layer