added LIFO and FIFO scheduling