Thought i implemented it, but doesn't work