Separated runnable module from function