added print function with var args