Added type signature
Runs, but doesn't do what I want