added pios + fixed some graph