Extract small methods