Feature/method as proc