...first replace cls with self...