This might be a better solution.

Signed-off-by: Lucas Arnström <lucasarnstrom@gmail.com>