debugging : added run and initaialsed the object outside setup
debugging: added self.cs
fixed indentations