added a complex Swift method signature