move initialization into a method