added base for swapping scheduling algorithms