adding sequence layout and fixing schedule delete