implicit conversion from Unit => Unit to runnable was not working