Made several fields private to make access weaker