reduce LoC for the same