calling proc in