fixed complexity in a method