Register and prints elements