added more dynamic passing of params using arguments array/object