Naive implementation

Signed-off-by: Peter Mårtensson <veritas.is.me@gmail.com>