modified some stuff so you can have 0 periodic task or all periodic tasks with a phase shift