added proper Proc