Almost done
Just need to write 'calc' function