[review] splitting to methods