added test
fixed args order