Split to small methods