b
First working version

still have to change the ratio through the config file