First try

unpolished, doesn't work