semester pattern