changed Credit class attributes to pascal case