resolve spacing issue in all + make classmethod for pascal