added print functions for atoms