Alternative logic

This is not finished - I'm only interested if you like it and if it is worth investing more time.