Completely reworked with Monokai's help