This and the line after are duplicated from the initialize, would it make sense to have a method doing that and calling it?