added the linux calculate