apply procedure allows multiple arguments, use it properly