Doesn't compile but goes in the right direction