added atom class to score function