refactor me baby.