Core and valence excitations in atoms - application to neon