reduce boot method size
private method refactor