Code beautifications for Periodic Table sample